package com.yj;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)//lombok生成的set方法会返回当前对象
public class DemoMessage {
    private Integer id;
    private String type;
    private String content;
}
